<!DOCTYPE html>
<html lang="en">

<head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>凡客商城后台管理</title>

    <!-- Bootstrap Core CSS -->
    <link href="{{asset('bower_components/bootstrap/dist/css/bootstrap.min.css')}}" rel="stylesheet">

    <!-- MetisMenu CSS -->
    <link href="{{asset('bower_components/metisMenu/dist/metisMenu.min.css')}}" rel="stylesheet">

    <!-- Timeline CSS --> 
    <link href="{{asset('dist/css/timeline.css')}}" rel="stylesheet">

    <!-- Custom CSS -->
    <link href="{{asset('dist/css/sb-admin-2.css')}}" rel="stylesheet">

    <!-- Morris Charts CSS -->
    <link href="{{asset('bower_components/morrisjs/morris.css')}}" rel="stylesheet">

    <!-- Custom Fonts -->
    <link href="{{asset('bower_components/font-awesome/css/font-awesome.min.css')}}" rel="stylesheet" type="text/css">

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
        <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->

</head>

<body>

    <div id="wrapper">

        <!-- Navigation -->
        <!--包含顶部文件-->
        @include('admin.top')
        <div id="page-wrapper">
 
            <!-- /.row -->

            <!-- /.row -->
            <div class="row">
                <div class="col-lg-12">
               
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            添加友情链接
                        </div>
                        <div class="panel-body">

                            <!--提交添加用户申请-->
                            <div class="col-lg-7">
                                <form role="form" action="/admin/flink/insert" method="post" enctype="multipart/form-data">
                                    {!! csrf_field() !!}

                                    <div class="form-group">
                                        <label>网站名称</label>
                                        <input class="form-control" name="webname" type="text"> 
                                    </div>

                                    <div class="form-group">
                                        <label>网站地址</label>
                                        <input class="form-control" name="weburl" type="text"> 
                                    </div>

                                    <div class="form-group">
                                        <label>网站Logo</label>
                                        <input class="form-control" name="weblogo" type="file"> 
                                    </div>

                                    <div class="form-group">
                                        <label>是否上线</label>
                                        <input type="radio" name="isonline" value="是" checked="checked" />上线
                                        <input type="radio" name="isonline" value="否"/>下线
                                    </div>    

                                    <div class="form-group">
                                        <label>上架时间</label>
                                        <input class="form-control" name="starttime" type="datetime-local"> 
                                    </div>

                                    <div class="form-group">
                                        <label>下架时间</label>
                                        <input class="form-control" name="endtime" type="datetime-local"> 
                                    </div>


                                    <div class="form-group">
                                        <label>联系人手机</label>
                                        <input class="form-control" name="webtel" type="text">                                       
                                    </div>

                                    <button type="submit" class="btn btn-success">提交注册</button>&nbsp;&nbsp;&nbsp;&nbsp;
                                    <button type="reset" class="btn btn-warning">重置数据</button>
                                </form>

                            </div>
  
                        </div>
                            <!-- /.row (nested) -->
                    </div>
                        <!-- /.panel-body -->
                </div>
                    <!-- /.panel -->
            </div>
                <!-- /.col-lg-12 -->
        </div>
            <!-- /.row -->
        </div>
        <!-- /#page-wrapper -->

    </div>
    <!-- /#wrapper -->

    <!-- jQuery -->
   <!-- jQuery -->
    <script src="{{asset('bower_components/jquery/dist/jquery.min.js')}}"></script>

    <!-- Bootstrap Core JavaScript -->
    <script src="{{asset('bower_components/bootstrap/dist/js/bootstrap.min.js')}}"></script>

    <!-- Metis Menu Plugin JavaScript -->
    <script src="{{asset('bower_components/metisMenu/dist/metisMenu.min.js')}}"></script>

    <!-- Custom Theme JavaScript -->
    <script src="{{asset('dist/js/sb-admin-2.js')}}"></script>

</body>

</html>
